package com.competition.param.impl;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

import com.admin.param.contract.IUpdateGenereateResult;
import com.competition.web.constant.ValidateCondtionAndMessage;

/**
 * 更新生成结果
 */
public class UpdateGenereateResult implements IUpdateGenereateResult {

	/**
	 * 客户 id
	 */
	@NotNull
	@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
	private Integer id;
	
	@NotNull
	@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
	public Integer userId;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}
}
